let that = {
  created(el, binding, vnode, prevVnode) {
    that.bind(el);
  },

  mounted(el, binding, vnode, prevVnode) {
    that.bind(el);
  },

  bind(el) {
    $(el).focus();
    $(el).find('input').focus();
    $(el).find('textarea').focus();
    setTimeout(() => {
      $(el).focus();
      $(el).find('input').focus();
      $(el).find('textarea').focus();
    }, 200);
  },
};

export default that;
